<?php ob_start() ?>

<div class="jumbotron">
    <div class="container">
        <div style="margin-top:50px;" class="panel panel-body">
            <div class="row row-body">
                <div class="col-lg-3 col-md-6 col-sm-6 col-xs-12 animated fadeInDown" align="center">
                    <img width="75%" src="web/images/regalos/<?php echo $obj_regalos->imagen ?>">
                </div>
                <div class="col-lg-5 col-md-6 col-sm-6 col-xs-12 animated fadeIn text-center">
                    <hr>
                    <h2 style="font-size:46px; font-weight:400;"><?php echo number_format($obj_regalos->precio, 0, "", "."); ?> bp</h2>
                    <hr>
                    <a data-target="#modalSolicitarRegalo<?php echo $obj_regalos->get_id(); ?>" role="button" data-toggle="modal" class="btn btn-primary btn-lg"><?php echo LABEL_REGALOCANJEAR ?></a>
                    <p style="font-size: 1em;"> <?php echo LABEL_REGALONOCREDITO1 ?><br>
                        <a href="betpoints"><b><?php echo LABEL_REGALONOCREDITO2 ?></b></a> <?php echo LABEL_REGALONOCREDITO3 ?></p>
                    <hr>
                </div>
                <div class="col-lg-4 col-md-12 col-sm-12 col-xs-12 animated fadeInUp">
                    <div class="row" style="margin-top:-15px;">
                        <h3><?php echo LABEL_REGALODESCRIPCION ?></h3>
                        <p style="font-size: 15px;" align="justify"><?php echo $obj_regalos->descripcion; ?></p>			              
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- Modal -->
<div class="modal fade" id="modalSolicitarRegalo<?php echo $obj_regalos->get_id(); ?>" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title" id="myModalLabel"><?php echo LABEL_REGALOSINSUFICIENTETITULO ?> <?php echo $obj_regalos->nombre ?></h4>
            </div>
            <div class="modal-body">
                <p style="font-size:14px; line-height:17px; margin-top:5px;"><?php echo LABEL_REGALOSINSUFICIENTETEXTO ?></p>
                <p style="margin-top:10px;"><a href="#betpoints" class="btn btn-block btn-large btn-success"><?php echo LABEL_REGALOSINSUFICIENTECONSIGUE ?></a></p> 
            </div>
        </div>
    </div>
</div>

<?php
$contenido = ob_get_clean();
include 'app/templates/plantilla_privada.php';
?>